package com.ufm.patient.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.ufm.patient.pojo.Patient;
@Repository  
@Transactional
public interface PatientMapper {
	public List<Patient> findAll(Map param);
	public Patient findById(Integer id);
	public void insert(Patient patient);
	public void update(Patient patient);
	public void delete(long id);
	public void deleteAll();
}
